package com.zqq.imageloader;

import android.app.Application;

import com.zqq.libimageloader.ImageLoader;

/**
 * --by zqq on 2018/7/10
 */
public class MyApp extends Application {

    public static MyApp gApp;

    @Override
    public void onCreate() {
        super.onCreate();

        gApp = this;
        //初始化图片库
        ImageLoader.getInstance().setGlobalImageLoader(new PicassoLoader());

    }
}
